<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>角色列表</title>
</head>
<body>

<a href="/role/toAdd"> 添加角色</a>
    <table border="1">
        <thead>
            <tr>
                <th>角色名称</th>
                <th>角色描述</th>
                <th>分配权限</th>
            </tr>
        </thead>
        <tbody>
            <#list  list as item>
            <tr>
                <td>${item.roleName!}</td>
                <td>${item.roleDesc!}</td>
                <td><a href="/role/editRoleResource?roleId=${item.id}">分配权限</a>
                </td>
            </tr>
            </#list>
        </tbody>
    </table>
    <br/>
<a href="/index"> 首页</a>
</body>
</html>